package it.wzm.lightweightlogx;

import it.wzm.lightweightlog.Entry;
import it.wzm.lightweightlog.Constant.Severity;

class XEntry extends Entry {
	
	private String personalKey;
	

	XEntry(String name, Object e, Severity severity, String classname, long timestamp, String personalKey) {
		super(name, e, severity, classname, timestamp);
		// set key also...
		this.setPersonalKey(personalKey);
	}
	
	/**
	 * @param personalKey the personalKey to set
	 */
	private void setPersonalKey(String personalKey) {
		this.personalKey = personalKey;
	}

	/**
	 * @return the personalKey
	 */
	public String getPersonalKey() {
		return personalKey;
	}

}
